﻿using System;

namespace JQuery.WebKit.WebCommon.Diagnostics
{
    public static class Assert
    {
        public static void ArgumentNotNull(object argument, string argumentName)
        {
            if (argument == null)
            {
                if (argumentName != null)
                {
                    throw new ArgumentNullException(argumentName);
                }
                throw new ArgumentNullException();
            }
        }
    }

}
